package com.ssm.mapper;

import com.github.abel533.mapper.Mapper;
import com.ssm.pojo.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by 墨殇
 * 2017/12/25.
 * @author Administrator
 */
public interface SysMenuMapper extends Mapper<SysMenu>{
    /**
     * 查詢菜單列表
     * @param map
     * @return
     */
    List<SysMenu>  queryList(Map<String, Object> map);

    List<SysMenu> queryListParentId(@Param("parentId") Long parentId);
}
